package LogicSide;

import java.util.List;

public abstract class AbstarctClient implements ClientInterface{
	
	public int addToPlayList(List<Integer> songsID, int playListID){
		for(Integer songID : songsID){
			if (addToPlayList(songID, playListID) == 0){
				return 0;
			}
		}
		return 1;		
	}
	
	public int removeFromPlayList(List<Integer> songsID, int playListID){
		for(Integer songID : songsID){
			if (removeFromPlayList(songID, playListID) == 0){
				return 0;
			}
		}
		return 1;
	}
}
